
"""
@author: xiangping
@contact: xiangpingbu@gmail.com
@time: 2020/1/3 4:39 下午
@file: Student.py
@Desc:
"""
from app.exts import ma


class StudentSchema(ma.ModelSchema):
    class Meta:
       fields = ('id', 'name', 'teacher')